package me.softwareengineer.guice.rendering.parser;

import me.softwareengineer.guice.rendering.domain.DOM;
import me.softwareengineer.guice.rendering.listener.Event;
import me.softwareengineer.guice.rendering.listener.Listener;
import me.softwareengineer.guice.rendering.parser.imp.DomGeneratorListenerDefaultImp;

/**
 * A helper service generates {@link DOM} tree based on the passed events.
 * 
 * @author yad.tahir
 * @see Listener
 * @see Event
 */
public interface DomGeneratorListener extends Listener{
	/**
	 * @return the DOM representation of the passed {@link Event}s
	 * @see DomGeneratorListenerDefaultImp#onEvent(Event)
	 */
	public DOM getDom();
}
